package com.wbs.vo;

import com.wbs.model.TbItem;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: 芝梦
 * @Description: 商品表VO, SPU表VO
 * @DateTime: 2024/1/31 17:29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsVO {//商品表VO
    private Long id;//主键
    private String sellerId;//商家ID
    private String goodsName;//SPU名
    private Long defaultItemId;//默认SKU
    private String auditStatus;//状态0未申请1审核中2审核通过3已驳回
    private String isMarketable;//是否上架
    private Long brandId;//品牌
    private String caption;//副标题
    private Long category1Id;//一级类目
    private Long category2Id;//二级类目
    private Long category3Id;//三级类目
    private String smallPic;//小图
    private BigDecimal price;//商城价
    private Long typeTemplateId;//分类模板ID
    private String isEnableSpec;//是否启用规格
    private String isDelete;//是否删除
    private GoodsDescVO goodDescVO;//商品描述VO
    private List<ItemVO> itemVOS;
}
